import request from '@/utils/request'
import apiUrl from './apiUrl/apiMentorInpatientDiseaseCureAnalyze'

// 诊断疾病人次人群类型对比条形图查询
export function persontypeGetAll(params) {
  return request({
    url: apiUrl.otpIptDiseMdtrt.getPersonType,
    method: 'post',
    data: params
  })
}

// 诊断疾病人次单位类型对比条形图查询
export function companytypeGetAll(params) {
  return request({
    url: apiUrl.otpIptDiseMdtrt.getCompanyType,
    method: 'post',
    data: params
  })
}

// 诊断疾病下拉框查询
export function diseaseGetAll(params) {
  return request({
    url: apiUrl.otpIptDiseMdtrt.getAll,
    method: 'post',
    data: params
  })
}
